home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSITION
/
TICKLEX.LZH
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1992-09-29
|
4KB
|
125 lines
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C is
echo designated as "C:", not "C". Make absolutely sure that you have designated
echo your hard disk correctly.
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
echo Installing TickleX onto your hard disk requires 1MB of free disk space. If
echo you're not SURE that 1MB is free, press Control-C to abort; otherwise,
pause
echo off
cls
%2
cd\
md MANAGEX
cls
cd\MANAGEX
if not exist M--JOURN.LBF goto SKIPBACK
echo If you're a registered user, please ensure that you have a reliable backup
echo of your current TickleX data. You should keep this backup indefinitely.
echo If you don't have such a backup, press Control-C and make it; otherwise,
pause
:SKIPBACK
if exist ticklex.com erase ticklex.com
if exist editx.com erase editx.com
cls
if exist upgrd.exe erase upgrd.exe
copy %1*.*
if exist t7.hlp erase t?.hlp
cls
echo just a minute...
if exist export.exe erase export.exe
if exist moe.exe erase moe.exe
if exist blankcal erase blankcal
if exist blankcl erase blankcl
if exist alarm.dat erase alarm.dat
if exist ticklex.exe erase ticklex.exe
if exist ticklex.ovr erase ticklex.ovr
if exist ticklx.ovr erase ticklx.ovr
if exist sample.lbt erase sample.lbt
if exist sample.rpt erase sample.rpt
if exist sample1.rpt erase sample1.rpt
if exist sample2.rpt erase sample2.rpt
if exist ticklex.doc erase ticklex.doc
if exist upgrd.com erase upgrd.com
if exist prntdrvr.exe erase prntdrvr.exe
if exist editx.exe erase editx.exe
if exist pc-beep.exe erase pc-beep.exe
if exist m--journ.lbf rename tx.bat txold.bat
cls
if not exist m-journ.lbf goto EXTRACT
echo VERY IMPORTANT
echo .
echo .
echo Now, some program files will be extracted from an archive. Before each
echo file is extracted, a check will be made to see whether a similarly named
echo one already exists on your hard disk. If so, you'll be asked whether you
echo wish to overwrite it with a new copy.
echo .
echo ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
echo .
echo .
pause
cls
:EXTRACT
tklx
erase tklx.exe
upgrd %2
erase upgrd.*
echo off
cls
if exist 1sttime.fyl erase 1sttime.fyl
if exist m-journ.lbf goto NOTFIRST
prntdrvr
echo off
cls
rem goto SKIPPRNT
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 55 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
rem type README.DOC >prn
type TICKLEX.DOC >PRN
cls
echo The documentation has been printed.
echo .
pause
goto NOTFIRST
:SKIPPRNT
echo The documentation is contained in a file called TICKLEX.DOC. If you
echo wish to print it, log into the MANAGEX directory on drive %2 and enter
echo "PRINTDOC" at the DOS prompt.
echo .
pause
goto NOTFIRST
:NOTFIRST
echo off
cls
echo .
echo .
echo Be sure to save the disk containing this version of TickleX. You may
echo need it at some time in the future if your hard disk's files are lost.
echo .
echo .
pause
echo off
cls
goto END
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo example: B:INSTALL B: C: will install TICKLEX from drive B to drive C:
echo .
echo PLEASE TRY AGAIN
:END